.left,
.right {
  display: flex;
  margin: 20px 0;
  .avatar {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .content {
    margin-left: 20px;

    .text {
      background-color: skyblue;
      padding: 20px;
      color: white;
      border-radius: 10px;
    }
    .image {
      width: 100%;
      // max-height: 300px;
      object-fit: cover;
    }
    .video {
      width: 100%;
      height: 300px;
    }
  }
}

.right {
  flex-direction: row-reverse;
  .content {
    margin-left: 100px;
    margin-right: 20px;

    .text {
      position: relative;
      &::after {
        position: absolute;
        top: 20px;
        display: block;
        content: "";
        width: 0;
        height: 0;
        border-top: 20px solid transparent;
        border-right: 20px solid transparent;
        border-left: 20px solid skyblue;
        border-bottom: 20px solid transparent;
        left: 100%;
      }
    }
  }
}

.left {
  .content {
    margin-right: 100px;

    .text {
      position: relative;
      &::after {
        position: absolute;
        top: 20px;
        display: block;
        content: "";
        width: 0;
        height: 0;
        border-top: 20px solid transparent;
        border-right: 20px solid skyblue;
        border-left: 20px solid transparent;
        border-bottom: 20px solid transparent;
        right: 100%;
      }
    }
  }
}

.time {
  text-align: center;
  font-size: 24px;
  color: #999;
}